﻿using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;

namespace IdentityServer
{
   //[Table("dbo.AbpPermissionGrants")]
    public class AbpPermissionGrant
    {
        public Guid Id { get; set; } = Guid.NewGuid();


        [AllowNull]
        public virtual Guid? TenantId { get; set; } = null;

        [NotNull]
        public virtual string Name { get; set; }


        public virtual string ProviderName { get; set; } = "R";


        public virtual string ProviderKey { get; set; }
    }
}
